function useTablePagination() {
  const rowsPerPage = 2;
  const pagination = ref({
    page: 1,
    rowsPerPage: rowsPerPage,
    rowsNumber: 2
  });

  onMounted(() => {
    pagination.value.page = 1;
    pagination.value.rowsPerPage = rowsPerPage;
  });

  return {
    pagination
  };
}

export default useTablePagination;
